use #!/usr/bin/perl instead of #!/usr/bin/env perl#80
Merged
Conversation
MakeMaker's fixin adjusts the shebang at install time to point to the perl that built the distribution, but it only recognizes the canonical #!/usr/bin/perl form. Document this in CLAUDE.md and fix all 27 scripts/tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
Rebase with conflict resolutionBranch StatsActions performed
CI statusCI will be checked asynchronously. Automated by Kōan |
04b616c to
d7c3699
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Replace
#!/usr/bin/env perlwith#!/usr/bin/perlin all scripts and tests, and document the convention in CLAUDE.md.Why
MakeMaker's
fixinrewrites shebangs at install time to point to the perl that built the distribution, but it only recognizes the canonical#!/usr/bin/perlform. Scripts using#!/usr/bin/env perlbypass this mechanism, so installed scripts may find the wrong perl.How
Straightforward sed across 27 files (tests + examples + one
.pmin examples/lib). Added a Shebangs bullet to the Conventions section of CLAUDE.md.Testing
Full test suite passes after the change.
🤖 Generated with Claude Code
Quality Report
Changes: 28 files changed, 30 insertions(+), 27 deletions(-)
Code scan: clean
Tests: passed (OK)
Branch hygiene: clean
Generated by Kōan post-mission quality pipeline